package book.Test;

import java.sql.SQLException;

import org.junit.Test;

import book.entity.User;
import book.service.UserService;
import book.service.impl.UserServiceImpl;

public class TestUserServiceEP {
	
	
	UserService userService = new UserServiceImpl();
	
	@Test
	public void getUser() throws SQLException {
		
		String email = "123@QQ.COM";
		String password = "123";
		
		User user = userService.getUserByEP(email, password);
		System.out.println(user);
		
	}

}
